ci: Pass -norest to Xvfb
authorMatthias Clasen <mclasen@redhat.com>
Tue, 4 Aug 2020 15:59:32 +0000 (11:59 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 4 Aug 2020 15:59:32 +0000 (11:59 -0400)
This may help with the sporadic "No display" failures
we are seeing when running tests under X11 in ci.

.gitlab-ci/run-tests.sh

index 3a2d25a2f9af96b3e479e8fd9a6b48af640630d1..6f6a09258f323bedb3865e925fe9aff44e8a9534 100755 (executable)
@@ -12,7 +12,7 @@ export LSAN_OPTIONS=suppressions=$srcdir/lsan.supp
 
 case "${backend}" in
   x11)
-    xvfb-run -a -s "-screen 0 1024x768x24" \
+    xvfb-run -a -s "-screen 0 1024x768x24 -noreset" \
           meson test -C ${builddir} \
                 --timeout-multiplier "${MESON_TEST_TIMEOUT_MULTIPLIER}" \
                 --print-errorlogs \